package com.nexus.all.es.repository;

import com.nexus.all.es.model.EsNote;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

public interface EsNoteRepository extends ElasticsearchRepository<EsNote,Long> {
    Page<EsNote> findByTitleContains(String title, Pageable pageable);
}
